package cn.zhyjohn.paysystem.requset;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 支付宝条码/声波支付
 * @author: JOHN
 * @date: 2019-08-23 11:56
 **/
@Data
@ApiModel("支付宝条码/声波支付")
public class AliTradePayParams extends AliPayParams {

    @ApiParam(value = "授权码")
    @NotBlank(message = "授权码不能为空")
    private String authCode;

    @ApiParam(value = "支付场景，条码：bar_code，声波：wave_code")
    @NotBlank(message = "支付场景不能为空")
    private String scene;

}
